home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-09-25 | 1019 b | 33 lines | [TEXT/ALFA] |
- \ Simple CGI
-
- --> CGIshell.4th ( load the CGI code )
-
- message[ s1 You are: ] ( strings used in the reply )
- message[ s2 <br>Using: ]
- message[ s3 <br>And your favorite flavor is: ]
-
- message[ fname flavor] ( name of the field )
-
- 512 String>> out ( return string goes here, 512 char max )
- out newstr ( clear it )
-
- ,s sdoc ,s WWWΩ ae: ( begin the AppleEvent reply handler )
-
- out startstring ( add HTML header )
-
- s1 out strcpy ( add 'You are: ' )
- out APPEND @Addr ( add client's IP address )
-
- s2 out strcpy ( add '<br>Using: ' )
- out APPEND @Browser ( add browser type )
-
- s3 out strcpy ( add '<br>And your favorite flavor is: ' )
- out fname APPEND @Field ( add flavor field data )
-
- out endstring ( add HTML ending )
-
- out REPLY bye ( send the reply and quit )
-
- ;ae ( end reply handler )
-
-